pdbedit -v username
output
Unix username: username NT username: Account Flags: [U ] User SID: S-1-5-21-3459295089-3371771435-3166850982-1168 Primary Group SID: S-1-5-21-3459295089-3371771435-3166850982-513 Full Name: Home Directory: \\home\username HomeDir Drive: Logon Script: Profile Path: \\home\username\profile Domain: DOMAIN Account desc: Workstations: Munged dial: Logon time: 0 Logoff time: never Kickoff time: never Password last set: wto, 25 lis 2014 13:57:39 CET Password can change: wto, 25 lis 2014 13:57:39 CET Password must change: nie, 24 maj 2015 14:57:39 CEST Last bad password : 0 Bad password count : 0 Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF